import {Component, OnInit, ElementRef} from '@angular/core';
import {Router} from '@angular/router';
import {Authenticate} from '../../libs/authenticate';
import {Global} from '../../libs/global';
import {BaseComponent} from '../../BaseComponent';
import {Http, Response, Headers} from '@angular/http';
import {HTTPService} from '../../libs/HTTPService';
import {HttpExt} from '../../libs/HttpExt';

@Component({
  selector: 'datasourcehome',
  templateUrl: "app/module/datasource/datasource.home.html",
})
export class DataSourceHomeComponent extends BaseComponent  {
   constructor(private element: ElementRef, http:HttpExt,private router: Router,private httpService:HTTPService) {   
        super(http);
        httpService.get("api/datasource/GetDataSource",null,(d)=>{
          var dd=d; 
        });
    }
}